﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace JTicket.UI
{
    public partial class S_Board : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["BoardID"] != null)
            {
                BLL.D_Boardinfo bllBoard = new BLL.D_Boardinfo();
                    int BoardID = Convert.ToInt32(Request.QueryString["BoardID"].ToString());
                    Model.D_Boardinfo Board = bllBoard.GetModel(BoardID);
                 
                    this.spTime.InnerHtml = Board.sdate+" "+Board.Stime;
                    this.spTitle.InnerHtml = Board.sTitle;
                    this.spContent.InnerHtml = Board.sContent;
                    this.Page.Title = Board.sTitle;
            }
        }
    }
}